<template>
	<web-view :src="yuanchengurl">
				
	</web-view>
</template>
<script>
	const dataTime = require('../../utils/util.js');
	import tuiListView from "@/components/list-view/list-view"
	import tuiListCell from "@/components/list-cell/list-cell"
	import tuiIcon from "@/components/icon/icon"
	import tuiTag from "@/components/tag/tag"
	import tuiCard from "@/components/card/card"
	import tuiToast from "@/components/extend/toast/toast"
	
	import tuiTabs from "@/components/tui-tabs/tui-tabs"
	import tuiButton from "@/components/extend/button/button"
	import tuiNomore from "@/components/nomore/nomore"
	import tuiSticky from "@/components/sticky/sticky"
	import tuiTips from "@/components/extend/tips/tips"
	
	export default {
		components: {
			tuiIcon,
			tuiTag,
			tuiListView,
			tuiListCell,
			tuiCard,
			tuiToast,
			tuiTabs,
			tuiButton,
			tuiNomore,
			tuiSticky,
			tuiTips,
		},
		data() {
			return {
				pageIndex: 1,
				parm: {},
				dataInfo:{create_time:0,content:'',title:''},
				yuanchengurl:"",
			}
		},
		onLoad: function(option){
			console.log(option);
			if(option.id == '关注公众号'){
				this.yuanchengurl = 'https://mp.weixin.qq.com/s/RtrfMf8nyV9K731yyQa_jg';
			}else if(option.id == '用户服务协议'){
				this.yuanchengurl = 'https://mp.weixin.qq.com/s?__biz=MzAwODMyNzczOA==&mid=100000022&idx=1&sn=33cbfcb6feedcc1ac067d8a0fffca1f1&scene=19#wechat_redirect';
			}else{
				this.yuanchengurl = option.url;
			}
		},
		methods: {
			
		},
	}
</script>

<style lang="scss">
	@import '../../static/style/thorui.css';
</style>
